package com.itany.book.service.impl;

import com.itany.book.service.IBookService;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.impl.HttpSolrClient;
import org.apache.solr.client.solrj.response.QueryResponse;
import org.apache.solr.common.SolrDocument;
import org.apache.solr.common.SolrDocumentList;
import org.apache.solr.common.SolrInputDocument;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by tyh on 2018/9/23.
 */
@Service
@com.alibaba.dubbo.config.annotation.Service
public class BookServiceImpl implements IBookService{



    @Override
    public void addDoc() {


    }

    @Override
    public List<Map<String, String>> findDoc() {
        List<Map<String, String>> list = new ArrayList<Map<String, String>>();

        return list;
    }
}
